﻿@model MvcMusicStore.Album
@{Layout = "~/Views/Shared/_LayoutForAdmin.cshtml";}
@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Album</legend>

    <div class="display-label">titleAlbum</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.titleAlbum)
    </div>

    <div class="display-label">coverAlbum</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.coverAlbum)
    </div>

    <div class="display-label">yearAlbum</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.yearAlbum)
    </div>

    <div class="display-label">dateAdd</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.dateAdd)
    </div>

    <div class="display-label">coustAlbum</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.coustAlbum)
    </div>

    <div class="display-label">Genre</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Genre.nameGenre)
    </div>

    <div class="display-label">Author</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Author.nameAuthor)
    </div>

    <div class="display-label">counterBought</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.counterBought)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id = Model.id }) |
    @Html.ActionLink("Back to List", "Index")
</p>
